﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WUCAddCategory.ascx.cs" Inherits="WebAppArtreve.views.shared.components.categories.WUCAddCategory" %>
<div>
    <fieldset>
        <legend>Add a category</legend>
        <hr />
        <br />
        <div class="formfieldrequired">
            <asp:Label ID="lblCategoryName" 
            runat="server" 
            Text="Artname:" 
            AssociatedControlID="txtCategoryName" />
            <asp:TextBox ID="txtCategoryName"
            runat="server" 
            MaxLength="50" 
            TextMode="SingleLine" Width="150px"/>
        </div>
        <div class="formfieldrequired">
            <asp:Label ID="lblCategoryDescription" 
            runat="server" 
            Text="Description:" 
            AssociatedControlID="txtCategoryDescription" />
            <asp:TextBox ID="txtCategoryDescription"
            runat="server" 
            MaxLength="50" 
            TextMode="SingleLine" Width="150px"/>
        </div>
        <!--<div class="formfieldrequired">
            <asp:Label ID="lblCategoryImgUrl" 
            runat="server" 
            Text="image:" 
            AssociatedControlID="txtCategoryImgUrl" />
            <asp:TextBox ID="txtCategoryImgUrl"
            runat="server" 
            MaxLength="50" 
            TextMode="SingleLine" Width="150px"/>
        </div>-->
        <div class="formfieldrequired">
        <asp:Label ID="lblUpload" 
            class="lblForm"
            runat="server" 
            Text="Upload:" 
            AssociatedControlID="FileUploadComponentAjax" />        
            <ajaxToolkit:AsyncFileUpload OnClientUploadError="uploadError" class="input"
                 OnClientUploadComplete="uploadComplete" runat="server"
                 ID="FileUploadComponentAjax" Width="400px" UploaderStyle="Modern"
                 UploadingBackColor="#CCFFFF" ThrobberID="myThrobber"
            />
        </div>
        <div class="formfieldrequired">
            <asp:LinkButton ID="linkAddArt" CausesValidation="true" runat="server" onclick="linkAddCategory_Click">Add category</asp:LinkButton>
        </div>
    </fieldset>
</div>
